package com.learn.security.controller;

import com.learn.security.bo.ApiResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : Yu.Tan
 * @date : 2022/12/8 11:21
 * @desc : **
 */
@RestController
@RequestMapping("/admin")
public class AdminController {

    @GetMapping("/demo")
    public ApiResult demo() {
        return ApiResult.ok("示例返回");
    }
}
